package com.google.code.alpaca.prototype.rpc;

import net.customware.gwt.dispatch.shared.Action;

import com.google.code.alpaca.prototype.model.Message;

/**
 * 
 * @author xiaobao
 * 
 */
public class MessageActions {

	/**
	 * 
	 * @author xiaobao
	 * 
	 */
	public static class GetAllMessagesAction implements
			Action<MessageListResult> {
	}

	public static class DeleteMessageAction extends AbstractSimpleAction<Long> {

		DeleteMessageAction() {
		}

		public DeleteMessageAction(Long id) {
			super(id);
		}

	}

	public static class SaveMessageAction extends AbstractSimpleAction<Message> {

		SaveMessageAction() {
		}

		public SaveMessageAction(Message msg) {
			super(msg);
		}

	}
}
